home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1493 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 68 |c.Subjec|t: Re: h|
|00000080| 65 6c 70 20 65 6e 63 72 | 79 70 74 69 6f 6e 20 70 |elp encr|yption p|
|00000090| 72 6f 67 72 61 6d 0a 44 | 61 74 65 3a 20 53 75 6e |rogram.D|ate: Sun|
|000000a0| 2c 20 31 34 20 4a 61 6e | 20 31 39 39 36 20 31 32 |, 14 Jan| 1996 12|
|000000b0| 3a 32 37 3a 30 38 20 2d | 30 36 30 30 0a 4f 72 67 |:27:08 -|0600.Org|
|000000c0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 55 6e 69 76 65 |anizatio|n: Unive|
|000000d0| 72 73 69 74 79 20 6f 66 | 20 49 6f 77 61 2c 20 49 |rsity of| Iowa, I|
|000000e0| 6f 77 61 20 43 69 74 79 | 2c 20 49 41 2c 20 55 53 |owa City|, IA, US|
|000000f0| 41 0a 44 69 73 74 72 69 | 62 75 74 69 6f 6e 3a 20 |A.Distri|bution: |
|00000100| 77 6f 72 6c 64 0a 4d 65 | 73 73 61 67 65 2d 49 44 |world.Me|ssage-ID|
|00000110| 3a 20 3c 50 69 6e 65 2e | 41 33 32 2e 33 2e 39 31 |: <Pine.|A32.3.91|
|00000120| 2e 39 36 30 31 31 34 31 | 32 32 33 31 38 2e 37 33 |.9601141|22318.73|
|00000130| 39 33 36 44 2d 31 30 30 | 30 30 30 40 72 65 64 2e |936D-100|000@red.|
|00000140| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 3e 0a |weeg.uio|wa.edu>.|
|00000150| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 64 62 |Referenc|es: <4db|
|00000160| 62 30 6f 24 64 62 6d 40 | 6a 61 72 69 6e 67 2e 6d |b0o$dbm@|jaring.m|
|00000170| 79 3e 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |y>.NNTP-|Posting-|
|00000180| 48 6f 73 74 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Host: re|d.weeg.u|
|00000190| 69 6f 77 61 2e 65 64 75 | 0a 4d 69 6d 65 2d 56 65 |iowa.edu|.Mime-Ve|
|000001a0| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 43 6f 6e 74 65 |rsion: 1|.0.Conte|
|000001b0| 6e 74 2d 54 79 70 65 3a | 20 54 45 58 54 2f 50 4c |nt-Type:| TEXT/PL|
|000001c0| 41 49 4e 3b 20 63 68 61 | 72 73 65 74 3d 55 53 2d |AIN; cha|rset=US-|
|000001d0| 41 53 43 49 49 0a 58 2d | 53 65 6e 64 65 72 3a 20 |ASCII.X-|Sender: |
|000001e0| 72 6f 62 69 6e 73 6f 6e | 40 72 65 64 2e 77 65 65 |robinson|@red.wee|
|000001f0| 67 2e 75 69 6f 77 61 2e | 65 64 75 0a 49 6e 2d 52 |g.uiowa.|edu.In-R|
|00000200| 65 70 6c 79 2d 54 6f 3a | 20 3c 34 64 62 62 30 6f |eply-To:| <4dbb0o|
|00000210| 24 64 62 6d 40 6a 61 72 | 69 6e 67 2e 6d 79 3e 20 |$dbm@jar|ing.my> |
|00000220| 0a 0a 4f 6e 20 53 75 6e | 2c 20 31 34 20 4a 61 6e |..On Sun|, 14 Jan|
|00000230| 20 31 39 39 36 20 6d 65 | 69 6d 65 69 40 70 6c 2e | 1996 me|imei@pl.|
|00000240| 6a 61 72 69 6e 67 2e 6d | 79 20 77 72 6f 74 65 3a |jaring.m|y wrote:|
|00000250| 0a 0a 3e 20 52 65 71 75 | 69 72 65 6d 65 6e 74 20 |..> Requ|irement |
|00000260| 3a 0a 3e 20 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0a 3e |:.> ====|======.>|
|00000270| 20 0a 3e 20 41 20 65 6e | 63 72 79 70 74 69 6f 6e | .> A en|cryption|
|00000280| 20 73 63 68 65 6d 65 20 | 69 73 20 74 6f 20 69 6e | scheme |is to in|
|00000290| 74 65 72 63 68 61 6e 67 | 65 20 6c 65 74 74 65 72 |terchang|e letter|
|000002a0| 73 20 6f 66 20 74 68 65 | 20 61 6c 70 68 61 62 65 |s of the| alphabe|
|000002b0| 74 20 6f 6e 20 61 0a 3e | 20 6f 6e 65 2d 74 6f 2d |t on a.>| one-to-|
|000002c0| 6f 6e 65 20 62 61 73 69 | 73 2e 20 54 68 69 73 20 |one basi|s. This |
|000002d0| 63 61 6e 20 62 65 20 61 | 63 63 6f 6d 70 6c 69 73 |can be a|ccomplis|
|000002e0| 68 65 64 20 77 69 74 68 | 20 61 20 74 72 61 6e 73 |hed with| a trans|
|000002f0| 61 6c 61 74 69 6f 6e 20 | 74 61 62 6c 65 0a 3e 20 |alation |table.> |
|00000300| 66 6f 72 20 74 68 65 20 | 35 32 20 6c 6f 77 65 72 |for the |52 lower|
|00000310| 63 61 73 65 20 61 6e 64 | 20 75 70 70 65 72 63 61 |case and| upperca|
|00000320| 73 65 20 6c 65 74 74 65 | 72 73 2e 0a 3e 20 0a 3e |se lette|rs..> .>|
|00000330| 20 57 72 69 74 65 20 61 | 20 43 20 70 72 6f 67 72 | Write a| C progr|
|00000340| 61 6d 20 74 68 61 74 20 | 69 6d 70 6c 65 6d 65 6e |am that |implemen|
|00000350| 74 73 20 73 75 63 68 20 | 61 20 73 63 68 65 6d 65 |ts such |a scheme|
|00000360| 20 74 6f 20 65 6e 63 6f | 64 65 20 74 65 78 74 2e | to enco|de text.|
|00000370| 20 54 68 65 0a 3e 20 70 | 72 6f 67 72 61 6d 20 6d | The.> p|rogram m|
|00000380| 75 73 74 20 61 6c 73 6f | 20 68 61 76 65 20 74 68 |ust also| have th|
|00000390| 65 20 6f 70 74 69 6f 6e | 20 74 6f 20 64 65 63 6f |e option| to deco|
|000003a0| 64 65 20 74 65 78 74 20 | 74 68 73 74 20 68 61 73 |de text |thst has|
|000003b0| 20 62 65 65 6e 0a 3e 20 | 65 6e 63 6f 64 65 64 2e | been.> |encoded.|
|000003c0| 20 54 68 65 20 75 73 65 | 72 20 6d 75 73 74 20 73 | The use|r must s|
|000003d0| 65 6c 65 63 74 20 77 68 | 65 74 68 65 72 20 68 65 |elect wh|ether he|
|000003e0| 20 77 61 6e 74 73 20 74 | 6f 20 65 6e 63 6f 64 65 | wants t|o encode|
|000003f0| 20 6f 72 20 64 65 63 6f | 64 65 20 74 68 65 0a 3e | or deco|de the.>|
|00000400| 20 74 65 78 74 20 61 6e | 64 20 74 68 65 6e 20 74 | text an|d then t|
|00000410| 79 70 65 20 69 6e 20 74 | 68 65 20 61 70 70 72 6f |ype in t|he appro|
|00000420| 70 72 69 61 74 65 20 74 | 65 78 74 2e 0a 0a 20 20 |priate t|ext... |
|00000430| 53 63 68 6f 6f 6c 27 73 | 20 62 61 63 6b 20 69 6e |School's| back in|
|00000440| 20 73 65 73 73 69 6f 6e | 2e 20 3a 29 0a 0a 3e 20 | session|. :)..> |
|00000450| 43 61 6e 20 61 6e 79 6f | 6e 65 20 73 6f 6c 76 65 |Can anyo|ne solve|
|00000460| 20 74 68 65 20 61 62 6f | 76 65 20 70 72 6f 62 6c | the abo|ve probl|
|00000470| 65 6d 20 3f 0a 0a 20 20 | 49 27 6d 20 73 75 72 65 |em ?.. |I'm sure|
|00000480| 20 5f 79 6f 75 5f 20 63 | 61 6e 2e 20 20 49 74 27 | _you_ c|an. It'|
|00000490| 73 20 6e 6f 74 20 74 68 | 61 74 20 68 61 72 64 2e |s not th|at hard.|
|000004a0| 20 20 49 66 20 79 6f 75 | 20 61 72 65 20 6f 62 76 | If you| are obv|
|000004b0| 69 6f 75 73 6c 79 20 6d | 61 6b 69 6e 67 20 61 6e |iously m|aking an|
|000004c0| 20 0a 65 66 66 6f 72 74 | 20 74 6f 20 73 6f 6c 76 | .effort| to solv|
|000004d0| 65 20 74 68 65 20 70 72 | 6f 62 6c 65 6d 20 79 6f |e the pr|oblem yo|
|000004e0| 75 72 73 65 6c 66 20 79 | 6f 75 72 20 70 72 6f 66 |urself y|our prof|
|000004f0| 65 73 73 6f 72 20 77 69 | 6c 6c 20 62 65 20 68 61 |essor wi|ll be ha|
|00000500| 70 70 79 20 74 6f 20 68 | 65 6c 70 20 0a 79 6f 75 |ppy to h|elp .you|
|00000510| 2e 20 20 49 66 20 79 6f | 75 20 6d 61 6b 65 20 61 |. If yo|u make a|
|00000520| 6e 20 65 66 66 6f 72 74 | 20 74 6f 20 77 72 69 74 |n effort| to writ|
|00000530| 65 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 20 79 |e this p|rogram y|
|00000540| 6f 75 72 73 65 6c 66 2c | 20 61 6e 64 20 69 74 20 |ourself,| and it |
|00000550| 0a 64 6f 65 73 6e 27 74 | 20 77 6f 72 6b 20 61 6e |.doesn't| work an|
|00000560| 64 20 79 6f 75 20 68 61 | 76 65 20 6e 6f 20 69 64 |d you ha|ve no id|
|00000570| 65 61 20 77 68 79 2c 20 | 74 68 65 6e 20 79 6f 75 |ea why, |then you|
|00000580| 20 63 61 6e 20 70 6f 73 | 74 20 61 20 63 6f 6d 70 | can pos|t a comp|
|00000590| 6c 65 74 65 20 62 75 74 | 20 0a 73 6d 61 6c 6c 20 |lete but| .small |
|000005a0| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 69 6c 6c |program |that ill|
|000005b0| 75 73 74 72 61 74 65 73 | 20 79 6f 75 72 20 70 72 |ustrates| your pr|
|000005c0| 6f 62 6c 65 6d 20 61 6e | 64 20 77 65 27 6c 6c 20 |oblem an|d we'll |
|000005d0| 68 61 76 65 20 61 20 6c | 6f 6f 6b 20 61 74 20 69 |have a l|ook at i|
|000005e0| 74 2e 0a 0a 20 20 47 6f | 6f 64 20 6c 75 63 6b 2e |t... Go|od luck.|
|000005f0| 0a 0a 2f 2a 2a 4a 61 6d | 65 73 20 52 6f 62 69 6e |../**Jam|es Robin|
|00000600| 73 6f 6e 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |son*****|********|
|00000610| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 20 20 20 20 20 20 |********|** |
|00000620| 20 20 20 20 20 20 0a 20 | 20 22 49 66 20 61 20 66 | . | "If a f|
|00000630| 61 74 61 6c 20 65 72 72 | 6f 72 20 6f 63 63 75 72 |atal err|or occur|
|00000640| 73 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |s, the p|rogram s|
|00000650| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 61 6c 6c |hould no|t be all|
|00000660| 6f 77 65 64 20 74 6f 20 | 63 6f 6e 74 69 6e 75 65 |owed to |continue|
|00000670| 2e 22 0a 20 2d 2d 20 4f | 72 61 63 6c 65 20 50 72 |.". -- O|racle Pr|
|00000680| 6f 2a 43 20 55 73 65 72 | 27 73 20 47 75 69 64 65 |o*C User|'s Guide|
|00000690| 20 20 20 20 20 20 20 20 | 20 2a 2a 2a 2a 2a 2a 2a | | *******|
|000006a0| 2a 2a 2a 2a 2a 2a 6a 61 | 6d 65 73 2d 72 6f 62 69 |******ja|mes-robi|
|000006b0| 6e 73 6f 6e 40 75 69 6f | 77 61 2e 65 64 75 2a 2a |nson@uio|wa.edu**|
|000006c0| 2f 0a 0a | |/.. | |
+--------+-------------------------+-------------------------+--------+--------+